package com.example.ossdemo.conf;

import lombok.Getter;

/**
 * 文件类型枚举
 */
@Getter
public enum FileTypeEnum {

    OTHER_TYPE(0,"其他"),
    FOLDER_TYPE(1,"文件夹"),
    TEXT_TYPE(2,"文本"),
    PICTURE_TYPE(3,"图片"),
    MUSIC_TYPE(4,"音乐"),
    WORD_TYPE(5,"word"),
    VIDEO_TYPE(6,"视频"),
    EXCEL_TYPE(7,"excel"),
    PDF_TYPE(8,"pdf"),
    PPT_TYPE(9,"ppt");


    FileTypeEnum(Integer type, String typeName) {
        this.type = type;
        this.typeName = typeName;
    }

    private final Integer type;

    private final String typeName;
}
